#!/bin/bash

# 定义所有仓库的路径
REPOS=(
  "../website1"
  "../website2"
  "../website3"
  "../website4"
  "../website5"
  "../website6"
  "../website7"
  "../website8"
  "../website9"
  "../website10"
  "../website11"
  "../website12"
  "../website13"
  "../website14"
  "../website15"
  "../website16"
  "../website17"
  "../website18"
)

# 遍历每个仓库并更新
for REPO in "${REPOS[@]}"; do
  echo "Updating repository: $REPO"
  cd "$REPO" || continue
  git pull origin master  # 或者其他你需要的分支
done
